//
//  ATIconDownloader.h
//  ATNetworks
//
//  Created by Ranjit2 on 16/05/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@protocol ATIconDownloaderDelegate 

- (void)imageDownloadFinish:(UIImage*)image_ withId:(NSIndexPath*)id_;

@end

@interface ATIconDownloader : NSObject {

	NSIndexPath* id_;
	NSString	*imageUrl;
}

@property(nonatomic, assign) NSIndexPath* id_;
@property(nonatomic, retain) NSString	*imageUrl;

//- (void) openConnection : (NSString *)urlString withCallBackTarget:(NSIndexPath*)id_;
- (void) openConnection : (NSString *)urlString withCallBackTarget:(NSIndexPath*)target_ withDelegate:(id)delegate_;
@end
